<?
	$aPaneles = array ( 'body_left'=> 1, 'body_main' => 0 , 'body_right' => 2);
	foreach($aPaneles  as $cPanel =>$nPanel ) 
	{
		if ( $this->aDatos[$cTemplateId][$cPanel]  )
		{
			echo "<div id='$cPanel' >";
			foreach ( $this->aDatos[$cTemplateId][$cPanel]  as $aCelda) 
			{
				$cStyle =  $cClass =  '';
				if ( strpos( $aCelda[cClass], ';' ) > 0 ) 
					$cStyle =  " style='" . $aCelda[cClass] . "' ";
				elseif ( $aCelda[cClass] )
					$cClass =  " class=' " . $aCelda[cClass] . "' ";
				echo "<div $cClass  $cStyle >"; 
					$oModule =& loadModule($aCelda[cModulo]);
					$oModule->showTemplatePage($aCelda[cAccion], $aCelda[ncOrden], $aCelda[cParametros] );
				echo "</div>";
			}
			echo "</div>";
		}
	}
?>